import actionType from "./actionType"
const initState={
    users:[]
}

const reducer=(state=initState,action:any)=>{
    const {type,payload}=action
    switch (type) {
        case actionType.LOGIN_SUBMIT:
            console.log(payload)
            return{
                ...state
            }
    
        default:
            return{
                ...state
            }
    }
}

export default reducer